<style>
  .moment-picker-specific-views .disabled{
    display: table-cell;
  }
  .dropdown-menu div:hover {
    background-color: #ddd;
  }
</style>
<div ng-include src="'tpl/public/header.html?1'"></div>
<div class="contents">
  <ol class="breadcrumb">
    <li> <a href="#/index/panel">首页</a> </li>
    <li class="active">
      <span ng-if="!product.id">添加</span>
      <span ng-if="product.id">编辑</span>
      <span ng-if="t=='02'">信托</span>
      <span ng-if="t=='03'">资管</span>
      <span ng-if="t=='07'">债权基金</span>
    </li>
  </ol>
  <form class="form-horizontal" role="form" name="form" novalidate ng-submit="save()">

    <span ng-if="product.outProductId">外场</span>
    <input type="hidden" ng-model="product.outProductId">
    
    <div class="form-group">
      <label class="col-sm-2 control-label">
      </label>
       <span  class="col-sm-1" style="width: 150px;">
        <input type="checkbox" ng-model="product.flagBidding">允许竞价
      </span>
      <span class="col-sm-1" style="width: 150px;">
        <input type="checkbox" ng-model="product.flagRaised">允许超募
      </span>
      <span  class="col-sm-1">
        <input type="checkbox" ng-model="product.flagZhiding">置顶
      </span>
      <span class="col-sm-1">
        <input type="checkbox" ng-model="product.flagBaoxiao">包销
      </span>
      <span class="col-sm-1">
        <input type="checkbox" ng-model="product.flagZhutui">主推
      </span>

    </div>

    <div class="form-group">
      <label class="col-sm-2 control-label">
        <!--<span class="required">*</span>-->
        小程序搜索未果记录
      </label>
      <div class="col-sm-5" ng-if="!id">
        <span class="input-group">
          <input type="text" class="form-control" name="pName" ng-model="product.pXcxSerarnoKeyword" readonly style="background-color: #fff" placeholder="小程序搜索关键字名称">
          <span class="input-group-btn">
              <button class="btn btn-success" type="button" ng-click="openSerarnoWin()">选择</button>
              <button class="btn btn-success" type="button" ng-click="product.pXcxSerarnoKeyword = null">清除</button>
            </span>
        </span>
      </div>

      <div class="col-sm-5" ng-if="id">
          <input type="text" class="form-control" name="pName" ng-model="product.pXcxSerarnoKeyword" readonly>
      </div>
    </div>

    <div class="form-group" ng-class="{'has-error':form.pName.$invalid}">
      <label class="col-sm-2 control-label">
        <span class="required">*</span>
        产品简称
      </label>
      <div class="col-sm-5">
        <input type="text" class="form-control" autocomplete="off" value="" name="pName" ng-model="product.pName" required="required" placeholder="产品简称">
      </div>
    </div>

    <div class="form-group" ng-class="{'has-error':form.pFullName.$invalid}">
      <label class="col-sm-2 control-label">
        <span class="required">*</span>
        产品全名
      </label>
      <div class="col-sm-5">
        <input type="text" class="form-control" autocomplete="off" value="" name="pFullName" ng-model="product.pFullName" required="required" placeholder="产品全称">
      </div>
    </div>

    <div class="form-group">
      <label class="col-sm-2 control-label">
        产品系列
      </label>
      <div class="col-sm-5">
        <!--<div class="input-group">-->
          <!--<select class="form-control" ame="pSeries" ng-model="product.pSeries">-->
            <!--<option value="">&#45;&#45;请选择&#45;&#45;</option>-->
            <!--<option ng-repeat="d in proserieslist track by $index" value="{{d.proSeriesName}}">{{d.proSeriesName}}</option>-->
          <!--</select>-->
          <!--<span class="input-group-btn">-->
            <!--<button class="btn btn-success" id="search_submit" type="button" ng-click="showProSeriesFlag = true">新增系列</button>-->
        <!--</span>-->
        <!--</div>-->

        <div class="input-group">
          <div class="dropdown" style="border: 1px solid #ddd">
            <button type="button" class="btn dropdown-toggle" id="dropdownMenu1" data-toggle="dropdown" style="width: 100%;text-align: left !important;">{{product.pSeries||"--请选择--"}}
              <span class="caret" style="float: right; margin-top: 10px"></span>
            </button>
            <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1" style="width: 100%">
              <li class="clearfix" role="presentation" ng-repeat="d in proserieslist track by $index">
                <div style="display: inline-block; width: 90%;float: left;" ng-click="product.pSeries = d.proSeriesName">
                  <span style="padding-left: 5px;">{{d.proSeriesName}}</span>
                </div>
                <span ng-controller="ProSeriesCtrl" style="float: right; color: indianred;padding-right: 5px;cursor: pointer" ng-click="proSeriesDelete(d, $index)">删除</span>
              </li>
            </ul>
          </div>
          <span class="input-group-btn">
            <button class="btn btn-success" id="search_submit" type="button" ng-click="showProSeriesFlag = true">新增系列</button>
          </span>
        </div>
      </div>
    </div>

    <div class="form-group">
      <label class="col-sm-2 control-label">
        <!--<span class="required">*</span>-->
        产品标签
      </label>
      <div class="col-sm-5">
        <div class="checkbox">
          <label style="color: black">
            <input type="checkbox" name="pLabel" ng-model="pLabelItem.pLabel5" ng-true-value="5">超短期
          </label>
          <label style="color: black">
            <input type="checkbox" name="pLabel" ng-model="pLabelItem.pLabel6" ng-true-value="6">一年期
          </label>
          <label style="color: black">
            <input type="checkbox" name="pLabel" ng-model="pLabelItem.pLabel7" ng-true-value="7">两年期
          </label>
          <label style="color: black">
            <input type="checkbox" name="pLabel" ng-model="pLabelItem.pLabel8" ng-true-value="8">两年以上
          </label>
          <br>

          <label style="color: black">
            <input type="checkbox" name="pLabel" ng-model="pLabelItem.pLabel1" ng-true-value="1">基础设施类
          </label>
          <label style="color: black">
            <input type="checkbox" name="pLabel" ng-model="pLabelItem.pLabel3" ng-true-value="3">工商企业类
          </label>
          <label style="color: black">
            <input type="checkbox" name="pLabel" ng-model="pLabelItem.pLabel4" ng-true-value="4">资金池
          </label>
          <label style="color: black">
            <input type="checkbox" name="pLabel" ng-model="pLabelItem.pLabel2" ng-true-value="2">房地产类
          </label>
          <label style="color: black">
            <input type="checkbox" name="pLabel" ng-model="pLabelItem.pLabel19" ng-true-value="19">股权质押
          </label>
          <label style="color: black">
            <input type="checkbox" name="pLabel" ng-model="pLabelItem.pLabel10" ng-true-value="10">上市公司
          </label>
          <label style="color: black">
            <input type="checkbox" name="pLabel" ng-model="pLabelItem.pLabel11" ng-true-value="11">AA主体
          </label>
          <label style="color: black">
            <input type="checkbox" name="pLabel" ng-model="pLabelItem.pLabel12" ng-true-value="12">土地抵押
          </label>
          <label style="color: black">
            <input type="checkbox" name="pLabel" ng-model="pLabelItem.pLabel13" ng-true-value="13">应收账款
          </label>
          <label style="color: black">
            <input type="checkbox" name="pLabel" ng-model="pLabelItem.pLabel14" ng-true-value="14">责任担保
          </label>
          <label style="color: black">
            <input type="checkbox" name="pLabel" ng-model="pLabelItem.pLabel9" ng-true-value="9">固定收益类
          </label>
          <label style="color: black">
            <input type="checkbox" name="pLabel" ng-model="pLabelItem.pLabel15" ng-true-value="15">债权类
          </label>
          <label style="color: black">
            <input type="checkbox" name="pLabel" ng-model="pLabelItem.pLabel16" ng-true-value="16">股权类
          </label>
          <label style="color: black">
            <input type="checkbox" name="pLabel" ng-model="pLabelItem.pLabel17" ng-true-value="17">证券类
          </label>
          <br>

          <label style="color: black">
            <input type="checkbox" name="pLabel" ng-model="pLabelItem.pLabel18" ng-true-value="18">小额畅打
          </label>
          <label style="color: black">
            <input type="checkbox" name="pLabel" ng-model="pLabelItem.pLabel23" ng-true-value="23">三大一小
          </label>
          <label style="color: black">
            <input type="checkbox" name="pLabel" ng-model="pLabelItem.pLabel22" ng-true-value="22">仅大额
          </label>
        </div>
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-2 control-label">
        募集开始时间
      </label>
      <div class="col-sm-5">
        <!--<div class="input-group"-->
             <!--moment-picker="product.pRaiseTime"-->
             <!--format="YYYY-MM-DD" start-view="month">-->
          <!--<span class="input-group-addon">-->
              <!--<i class="glyphicon glyphicon-calendar"></i>-->
          <!--</span>-->
          <!--<input class="form-control" name="pRaiseTime" style="background-color: #ffffff"-->
                 <!--placeholder="预发布时间" readonly-->
                 <!--ng-model="product.pRaiseTime">-->
        <!--</div>-->
        <input type="date" class="form-control" autocomplete="off" value="" name="pRaiseTime" ng-model="product.pRaiseTime" placeholder="募集开始时间,格式如2014-09-01" ng-pattern="/^\d{4}-\d{2}-\d{2}$/">
      </div>
    </div>

    <div class="form-group" ng-if="t=='02'" ng-class="{'has-error':form.pInvestOwnerId.$invalid}">
      <label class="col-sm-2 control-label">
        发行机构
      </label>
      <div class="col-sm-5">
        <select class="form-control" name="pInvestOwnerId" ng-model="product.pInvestOwnerId" ng-options="m.id as m.cShortName for m in companys" 
        ng-show="t=='02'" placeholder="发行机构">
          <option value="">选择发行机构</option> 
        </select>
      </div>
    </div>

    <div class="form-group" ng-if="t=='03'||t=='07'" ng-class="{'has-error':form.pInvestOwner.$invalid}">
      <label class="col-sm-2 control-label">
        发行机构
      </label>
      <div class="col-sm-5">
        <input type="text" class="form-control" id="pInvestOwner" name="pInvestOwner" ng-model="product.pInvestOwner" placeholder="发行机构" ng-change="showJigouCompany(product.pInvestOwner)" ng-keyup="keyupChange($event)" autocomplete="off">
          <div class="sanfang-company" style="width: 460px;" ng-show="isShowSelectCompany">
            <ul>
              <li ng-repeat="c in sfCompanyList | filter:product.pInvestOwner" ng-click="selectedJigouCompany(c.pInvestOwner)">{{c.pInvestOwner}}</li>
            </ul>
          </div>
      </div>
    </div>
    <div class="form-group" ng-if="t=='03'||t=='07'" ng-class="{'has-error':form.pIssuerScore.$invalid}">
      <label class="col-sm-2 control-label">
        发行机构得分
      </label>
      <div class="col-sm-5">
        <input type="text" class="form-control" name="pIssuerScore" ng-model="product.pIssuerScore" placeholder="发行机构得分">
      </div>
    </div>
<!--
    <div class="form-group" ng-class="{'has-error':form.pPublicArea.$invalid}">
      <label class="col-sm-2 control-label">发行地区</label>
      <div class="col-sm-5">
        <select class="form-control" name="pPublicArea" ng-model="product.pPublicArea" ng-options="m.value as m.text for m in pPublicAreaModel" required="required" placeholder="发行地区"> </select> 
      </div>
    </div>
-->
     <div class="form-group" ng-class="{'has-error':form.pBelongArea.$invalid}">
      <label class="col-sm-2 control-label">所在地区</label>
      <div class="col-sm-5">
        <select class="form-control" name="pBelongArea" ng-model="product.pBelongArea" ng-options="m.value as m.text for m in dictMap.pbelongAreaModel" required="required" placeholder="所在地区"> </select> 
      </div>
    </div>

    <div class="form-group" ng-class="{'has-error':form.pAllIssuingScale.$invalid}">
      <label class="col-sm-2 control-label">
        <span class="required">*</span>
        发行规模
      </label>
      <div class="col-sm-5">
        <input type="number" class="form-control" autocomplete="off" value="" name="pAllIssuingScale" ng-model="product.pAllIssuingScale" required="required" placeholder="发行规模,请填写数字，单位亿元">
        <span class="form-control-feedback">亿元</span>
      </div>
    </div>

    <div class="form-group" ng-class="{'has-error':form.pInvestType.$invalid}">
      <label class="col-sm-2 control-label">投资领域</label>
      <div class="col-sm-5">
        <select class="form-control" ng-model="product.pInvestType" ng-options="m.value as m.text for m in investTypeModel" required="required"> </select>
      </div>
    </div>

    <div class="form-group" ng-class="{'has-error':form.pSaleTimeStartStr.$invalid}">
      <label class="col-sm-2 control-label">
        <span class="required">*</span>
        起售时间
      </label>
      <div class="col-sm-5">
        <input type="date" class="form-control" autocomplete="off" value="" name="pSaleTimeStartStr" ng-model="product.pSaleTimeStartStr" required="required" placeholder="起售时间,格式如2014-09-01" ng-pattern="/^\d{4}-\d{2}-\d{2}$/">
      </div>
    </div>

    <div class="form-group" ng-class="{'has-error':form.pMinimumAmountTmp.$invalid}">
      <label class="col-sm-2 control-label">
        <span class="required">*</span>
        产品起购金额
      </label>
      <div class="col-sm-5">
        <input type="number" class="form-control" autocomplete="off" value="" name="pMinimumAmount" ng-model="product.pMinimumAmountTmp" required="required" placeholder="产品起购金额,请填写数字,单位万元">
        <span class="form-control-feedback">万元</span>
      </div>
    </div>

    <div class="form-group" ng-class="{'has-error':form.pProgressiveAmount.$invalid}">
      <label class="col-sm-2 control-label">
        <span class="required">*</span>
        累进追加金额最小值
      </label>
      <div class="col-sm-5">
        <input type="number" class="form-control" autocomplete="off" value="" name="pProgressiveAmount" ng-model="product.pProgressiveAmountTmp" required="required" placeholder="累进追加金额最小值,请填写数字，单位万元">
        <span class="form-control-feedback">万元</span>
      </div>
    </div>

    <div class="form-group" ng-class="{'has-error':form.pDueTime.$invalid}">
      <label class="col-sm-2 control-label">
        <span class="required">*</span>
        产品期限
      </label>
      <div class="col-sm-5">
        <input type="number" class="form-control" autocomplete="off" value="" name="pDueTime" ng-model="product.pDueTime" required="required" placeholder="产品期限,请填写数字,单位月">
        <span class="form-control-feedback">月</span>
      </div>
    </div>

    <div class="form-group" ng-class="{'has-error':form.pDueTimeDes.$invalid}">
      <label class="col-sm-2 control-label">
        产品期限说明
      </label>
      <div class="col-sm-5">
        <input type="text" class="form-control" autocomplete="off" value="" name="pDueTimeDes" ng-model="product.pDueTimeDes" placeholder="将会前台产品期限显示,例如:2+3年">
      </div>
    </div>

    <div class="form-group" ng-class="{'has-error':form.pLiquidityScore.$invalid}">
      <label class="col-sm-2 control-label">
        <span class="required"></span>
        产品流动性得分
      </label>
      <div class="col-sm-5">
        <input type="text" class="form-control" autocomplete="off" value="" name="pLiquidityScore" ng-model="product.pLiquidityScore" placeholder="产品流动性得分">
      </div>
    </div>

    <div class="form-group" ng-class="{'has-error':form.pRevenueScore.$invalid}">
      <label class="col-sm-2 control-label">
        <span class="required"></span>
        产品收益得分
      </label>
      <div class="col-sm-5">
        <input type="text" class="form-control" autocomplete="off" value="" name="pRevenueScore" ng-model="product.pRevenueScore" placeholder="产品流动性得分">
      </div>
    </div>

    <div class="form-group" ng-class="{'has-error':form.tjzl.$invalid}">
      <label class="col-sm-2 control-label"> 
        <span class="required">*</span>提交资料</label>
      <div class="col-sm-5">
        <label ng-repeat="tjzlitem in dictMap.tjzlModel">
            <input type="checkbox" name="tjzl" ng-model="allTjzls[tjzlitem.value]" value="{{tjzlitem.value}}">
            {{tjzlitem.text}}
        </label>
      </div>
    </div>

    <div class="form-group" ng-class="{'has-error':form.pPaymentInterestType.$invalid}">
      <label class="col-sm-2 control-label">
        <span class="required">*</span>
        付息方式
      </label>
      <div class="col-sm-5">
        <select class="form-control" name="pPaymentInterestType" ng-model="product.pPaymentInterestType" ng-options="m.value as m.text for m in paymentInterestTypeModel" required="required" placeholder="付息方式"> </select> 
      </div>
    </div>

    <div class="form-group" ng-class="{'has-error':form.pEndEarlyIdentification.$invalid}">
      <label class="col-sm-2 control-label">项目是否可以提前结束</label>
      <div class="col-sm-5">
        <select class="form-control" name="pEndEarlyIdentification" ng-model="product.pEndEarlyIdentification" ng-options="m.value as m.text for m in dictMap['pEndEarlyIdentification']" required="required" placeholder=""> </select>
      </div>
    </div>

    <div class="form-group" ng-class="{'has-error':form.pProjectOwner.$invalid}">
      <label class="col-sm-2 control-label">
        <span class="required"></span>
        融资方
      </label>
      <div class="col-sm-5">
        <input type="text" class="form-control" autocomplete="off" value="" name="pProjectOwner" ng-model="product.pProjectOwner" placeholder="融资方">
      </div>
    </div>
    <div class="form-group" ng-class="{'has-error':form.pFinancierScore.$invalid}">
      <label class="col-sm-2 control-label">
        <span class="required"></span>
        融资方得分
      </label>
      <div class="col-sm-5">
        <input type="text" class="form-control" autocomplete="off" value="" name="pFinancierScore" ng-model="product.pFinancierScore" placeholder="融资方得分">
      </div>
    </div>
    <div class="form-group" ng-class="{'has-error':form.pFinancierDebtScore.$invalid}">
      <label class="col-sm-2 control-label">
        <span class="required"></span>
        融资项目评级得分
      </label>
      <div class="col-sm-5">
        <input type="text" class="form-control" autocomplete="off" value="" name="pFinancierDebtScore" ng-model="product.pFinancierDebtScore" placeholder="融资项目评级得分">
      </div>
    </div>

    <!--产品供应方公司，新加-->
    <div class="form-group" ng-class="{'has-error':form.pAccessId.$invalid}">
      <label class="col-sm-2 control-label">
        <span class="required">*</span>
        产品供应方公司
      </label>
      <div class="col-sm-5">
      <input class="form-control" ng-model="queryAccessCompany" style="float: left;width: 30%;" id="queryAccessCompany" ng-keyup="keyupChange($event,'ac')" autocomplete="off"></input> 
        <select style="float: left;width: 70%;" class="form-control" id="pAccessId" name="pAccessId" ng-model="product.pAccessId" ng-options="m.id as m.accessCompany for m in supplierListOfProduct" required="required" ng-change="onSelectChange()" placeholder="产品供应方公司"></select> 
      </div>
    </div>
    <div class="form-group" ng-class="{'has-error':form.pAccessId.$invalid}">
      <label class="col-sm-2 control-label">
        <span class="required">*</span>
        对接人
      </label>
      <div class="col-sm-5">
        <input type="text" class="form-control" readonly value="{{accessNameOfCompany}}" placeholder="对接人">
      </div>
    </div>

    <div class="form-group" ng-class="{'has-error':form.title.$invalid}">
      <label class="col-sm-2 control-label">
        <span class="required">*</span>
        产品简介
      </label>
      
      <div class="col-sm-7">
        <div class="ueditor" config="config" ready="ready" ng-model="product.pSummary" style="height:300px;width:1000px;" required></div>
        <!--
        <textarea class="form-control" name="pSummary" ng-model="product.pSummary" required="required"></textarea>
        -->
      </div>
    </div>
    <!--<div class="form-group" >-->
      <!--<label class="col-sm-2 control-label">-->
        <!--产品确认函时间-->
      <!--</label>-->
      <!--<div class="col-sm-5">-->
        <!--<input type="date" class="form-control" autocomplete="off" value=""-->
               <!--name="pLetterTime" ng-model="product.pLetterTime"-->
               <!--placeholder="" ng-pattern="/^\d{4}-\d{2}-\d{2}$/">-->

      <!--</div>-->
    <!--</div>-->
    <!--<div class="form-group">-->
      <!--<label class="col-sm-2 control-label">-->
        <!--产品确认函-->
      <!--</label>-->
      <!--<div class="col-sm-5">-->
        <!--&lt;!&ndash;<textarea class="form-control" ng-model="product.pLetter" placeholder="产品确认函" cols="3" rows="3"></textarea>&ndash;&gt;-->
        <!--<div class="ueditor" config="config" ready="ready" ng-model="product.pLetter" style="height:300px;width:1000px;"></div>-->
      <!--</div>-->
    <!--</div>-->

    <div class="form-group"><!-- ng-show="id" -->
      <label class="col-sm-2 control-label">
        产品成立公告时间
      </label>
      <div class="col-sm-5">

        <input type="date" class="form-control" name="pNoticeTime" value=""  ng-model="product.pNoticeTime"  ng-pattern="/^\d{4}-\d{2}-\d{2}$/" >
      </div>
    </div>
    <div class="form-group"><!-- ng-show="id" -->
      <label class="col-sm-2 control-label">
        产品成立公告
      </label>
      <div class="col-sm-5">
        <!--<textarea class="form-control" ng-model="product.pNotice" placeholder="成立公告" cols="3" rows="3"></textarea>-->
        <div class="ueditor" config="config" ready="ready" ng-model="product.pNotice" style="height:300px;width:1000px;"></div>

        <!--<iframe ng-src="{{tabUrlMap.pronotice}}" style="height:300px;width:1000px; border: 1px solid #dddddd"></iframe>-->
      </div>
    </div>

    <div class="form-group" ng-class="{'has-error':form.image.$invalid}">
      <label for="advertLinkInput" class="col-sm-2 control-label">
        产品图片(180*206)
      </label>
      <div class="col-sm-5">
        <input type="text" readonly="true" class="form-control" id="advertLinkInput" placeholder="产品图片" name="image" ng-model="product.image">
        <div class="btn btn-primary add-pic-btn">上传图片</div>
      </div>
    </div>
    <!--
    <div class="form-group" ng-class="{'has-error':form.pType.$invalid}">
      <label class="col-sm-2 control-label">
        <span class="required">*</span>
        产品类型
      </label>
      <div class="col-sm-5">
        <select class="form-control" ng-model="product.pType" ng-options="m.value as m.text for m in productTypeModel" required="required"> </select> 
      </div>
    </div>
    <div class="form-group" ng-class="{'has-error':form.pRecruitmentSummary.$invalid}">
      <label class="col-sm-2 control-label">
        <span class="required">*</span>
        募集进度说明
      </label>
      <div class="col-sm-5">
        <textarea class="form-control" name="pRecruitmentSummary" ng-model="product.pRecruitmentSummary" required="required" placeholder="募集进度说明"></textarea>
      </div>
    </div>-->

    <div class="form-group">
      <label class="col-sm-2 control-label"></label>
      <div class="col-sm-5">
        <img ng-src="{{staticHost}}{{product.image}}" />
      </div>
    </div>
  <div class="form-group" ng-class="{'has-error':form.peLogoUri.$invalid}">
      <label for="advertLinkInput" class="col-sm-2 control-label">
        公司logo上传(108*118)
      </label>
      <div class="col-sm-5">
        <input type="text" readonly="true" class="form-control" id="advertLinkInput" placeholder="产品列表图片" name="peLogoUri" ng-model="product.peLogoUri">
        <div class="btn btn-primary add-pic-btn">上传图片</div>
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-2 control-label"></label>
      <div class="col-sm-5">
        <img ng-src="{{staticHost}}{{product.peLogoUri}}" />
      </div>
    </div>

     <div class="form-group" ng-class="{'has-error':form.peHomeLogoUri.$invalid}">
      <label for="advertLinkInput" class="col-sm-2 control-label">
        首页logo上传(248*97)
      </label>
      <div class="col-sm-5">
        <input type="text" readonly="true" class="form-control" id="advertLinkInput" placeholder="产品列表图片" name="peHomeLogoUri" ng-model="product.peHomeLogoUri"/>
        <div class="btn btn-primary add-pic-btn">上传图片</div>
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-2 control-label"></label>
      <div class="col-sm-5">
        <img ng-src="{{staticHost}}{{product.peHomeLogoUri}}" />
      </div>
    </div>
    <div class="form-group" >
      <label class="col-sm-2 control-label">&nbsp;</label>
      <div class="col-sm-5">
        <input type="submit" class="btn btn-primary" value="保存" has-auth where="btn" who="PRODUCT_EDIT" owner="{{product.createBy}}"/>
      </div>
    </div>

  </form>
</div>
<div load-script src="'/static/jquery.jUploader-1.01.js?5'" call-back="" charset="utf-8" ></div>


<div class="layer-box" ng-show="showProSeriesFlag">
  <div class="layer-bg" style="z-index: 999"></div>
  <div class="layer-con layer-big" style="padding:10px 20px; z-index: 1000">
    <span class="icons-close" title="关闭" ng-click="showProSeriesFlag = false;">X</span>
    <div class="layer-title">新增产品系列</div>
    <div class="con-wrap">
      <form class="form-horizontal cert-form" role="myform" name="myform" ng-submit="proSeriesSave()" novalidate ng-controller="ProSeriesCtrl">
        <div class="form-group" ng-class="{'has-error':myform.proSeriesName.$invalid}">
          <label class="col-sm-4 control-label">
            <span class="required">*</span>
            系列名称
          </label>
          <div class="col-sm-5">
            <input type="text" class="form-control" autocomplete="off" value="" name="proSeriesName" ng-model="proSeriesItem.proSeriesName" required="required" placeholder="请输入产品系列名称">
          </div>
        </div>
        <div class="form-group">
          <div class="col-sm-offset-2 col-sm-5">
            <button type="submit" class="btn btn-default">提交</button>
          </div>
        </div>
      </form>
    </div>
  </div>
</div>

<div class="layer-box" ng-show="showXcxsearchnoRecord">
  <div class="layer-bg" style="z-index: 999"></div>
  <div class="layer-con layer-big" style="padding:10px 20px; z-index: 1000">
    <span class="icons-close" title="关闭" ng-click="showXcxsearchnoRecord = false;">X</span>
    <div class="layer-title">小程序搜索未果记录</div>
    <div class="con-wrap" style="max-height: 400px;overflow: scroll">
      <table class="table table-striped table-hover" >
        <thead>
        <tr>
          <th style="text-align: center" width="30">序号</th>
          <th style="text-align: center" width="35">搜索类型</th>
          <th style="text-align: center" width="65">搜索关键字</th>
          <th style="text-align: center" width="50">操作</th>
        </tr>
        </thead>
        <tbody>
        <tr ng-if="searchnolist.length==0"><td colspan="5" style="text-align: center">暂无数据!</td></tr>
        <tr ng-repeat="d in searchnolist">
          <td>{{$index+1}}</td>
          <td>{{d.searchType=='0'?'标签查询':'关键字查询'}}</td>
          <td>{{d.keyword}}</td>
          <td class="optd">
            <a href="javascript:" ng-click="getXcxsearchNoRecord(d)">选择</a>
          </td>
        </tr>
        </tbody>
      </table>
    </div>
  </div>
</div>
